package com.ztsoft.user.pojo.vo.dynamic;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.ztsoft.user.pojo.entity.dynamic.Option;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 表单
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class DynamicFormVo implements Serializable {
    //左边显示的
    private String label;
    //字段key
    private String model;
    //默认值
    private String placeholder;
    //类型
    private String type;

    List<String> itemRadioList = new ArrayList<>();

    List<Option> options = new ArrayList<>();

    private Boolean isSelectChange;
}